<?php
class KindeditorAction extends CommonAction {
    public function upload() {
		$file = $this->_upload();
		$file = '/Public'.$file;
        echo json_encode(array(
			'error' => 0,
			'url' => $file
        ));
        exit;
    }
}